Fault Detection Capabilities of Coupling-based OO Testing
نویسندگان
چکیده
Object-oriented programs cause a shift in focus from software units to the way software classes and components are connected. Thus, we are finding that we need less emphasis on unit testing and more on integration testing. The compositional relationships of inheritance and aggregation, especially when combined with polymorphism, introduce new kinds of integration faults, which can be covered using testing criteria that take the effects of inheritance and polymorphism into account. This paper demonstrates, via a set of experiments, the relative effectiveness of several coupling-based OO testing criteria and branch coverage. OO criteria are all more effective at detecting faults due to the use of inheritance and polymorphism than branch coverage.
منابع مشابه
Investigating the Applicability of Traditional Test Adequacy Criteria for Object-oriented Programs
Research in software testing has identified and studied several criteria to measure the adequacy of a set of input data used to test software. Since the existing adequacy criteria were developed and demonstrated in a non-OO environment, it is important to examine whether those criteria can be equally effective for measuring the test adequacy of OO programs. This paper describes a case study per...
متن کاملDefining and Validating Design Coupling Measures in Object-Oriented Systems
This paper proposes a comprehensive suite of measures to quantify the level of class coupling during the design of object-oriented systems. This suite takes into account the different OO design mechanisms provided by the C++ language (e.g., friendship between classes, specialization, and aggregation) but it can be tailored to other OO languages. The different measures in our suite thus reflect ...
متن کاملA Comprehensive Empirical Validation of Design Measures for Object-Oriented Systems
This paper aims at empirically exploring the relationships between existing object-oriented coupling, cohesion, and inheritance measures and the probability of fault detection in system classes during testing. The underlying goal of such a study is to better understand the relationship between existing design measurement in OO systems and the quality of the software developed. Results show that...
متن کاملFault Detection and Isolation of Vehicle Driveline System
Vehicle driveline system and its working accuracy play an important role in the performance of car. The purpose of this study is to provide an appropriate mechanism for investigating, identifying and determining the position and size of defects in the vehicle power transmission system. This is based on the patterns of the residual signal, obtained from a simulated model of the system. Neuro-...
متن کاملA Comprehensive Empirical Validation of Product Measures for Object-Oriented Systems
This paper aims at empirically exploring the relationships between existing object-oriented coupling, cohesion, and inheritance measures and the probability of fault detection in system classes during testing. The underlying goal of such a study is to better understand the relationship between existing design measurement in OO systems and the quality of the software developed. Results show that...
متن کامل